package com.xuef.ibatis.mapping;

import java.sql.Connection;

/**
 * Created by xuefengDong: moveb
 * On 2019/4/26- 19:16
 */
public class Environment {
    private final String id;
    //private final TransactionFactory transactionFactory;
    //private final DataSource dataSource;
    private final Connection connection;

    public Environment(String id, Connection conn) {
        this.id = id;
        this.connection= conn;
    }

    public String getId() {
        return this.id;
    }

    public Connection getConnection() {
        return connection;
    }
}
